package com.yanqu.road.entity.activity.newserverwelfare;

import com.yanqu.road.entity.DataObject;
import com.yanqu.road.entity.FieldTypeAnnotation;
import com.yanqu.road.entity.DataStatus;

@FieldTypeAnnotation(tableName = "t_u_activity_new_server_welfare_reward")
public class NewServerWelfareReward extends DataObject {

    @FieldTypeAnnotation(desc = "活动id", select = true, update = true)
    private int activityId;

    @FieldTypeAnnotation(desc = "任务id")
    private int conditionId;

    @FieldTypeAnnotation(desc = "剩余奖励数量")
    private int rewardRemain;


    public int getActivityId() {
        return activityId;
    }

    public void setActivityId(int activityId) {
        if (this.activityId != activityId) {
            this.activityId = activityId;
            setOp(DataStatus.Update);
        }
    }

    public int getConditionId() {
        return conditionId;
    }

    public void setConditionId(int conditionId) {
        if (this.conditionId != conditionId) {
            this.conditionId = conditionId;
            setOp(DataStatus.Update);
        }
    }

    public int getRewardRemain() {
        return rewardRemain;
    }

    public void setRewardRemain(int rewardRemain) {
        if (this.rewardRemain != rewardRemain) {
            this.rewardRemain = rewardRemain;
            setOp(DataStatus.Update);
        }
    }


}
